<?
define('TAG', !class_exists('tag'));
$data->tag->list = tag::get(array('accountID'=>UID));
if(!$data->tag->list) {
    tag::paste(array('tag'=>NAME));
    $data->tag->list = tag::get(array('accountID'=>UID));
}
?>
